#ifndef SPRITE_H
#define SPRITE_H

#include "Image.h"
#include "SpriteSheet.h"
#include "Vec2.h"
#
class SpriteSheet;

class Sprite
{
public:
	Sprite(SpriteSheet*);
	~Sprite();
	void Draw();
	void Update();

	void SetVel(Vec2f vel) { m_vel = vel; }

private:
	SpriteSheet* m_spriteSheet;

	Vec2f m_pos;
	Vec2f m_vel;
	Vec2f m_acc;

	int m_cellNum;
	float m_elapsedTime;
};

#endif